:root {
    --white: #ffffff;
    --primary: #FFC107;
    --secondary: #0097A7;
    --gray: #757575;
    --dark: #212121;
    --bluedark: #0003a7;
}


/* Globals --------------------------------*/

html {
    box-sizing: border-box;
    /* Hack para box model */
    min-height: 100%;
    /* scroll-snap-type: y mandatory; */
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

p {
    line-height: 2;
    text-align: center;
    gap: 1rem;
}

body {
    font-family: 'Krub', sans-serif;
    background-image: linear-gradient(to top, #dfe9f3 0%, white 100%);
    min-height: 100%;
}

#currentdate {
    color: rgb(18, 19, 18);
}
.map {
    overflow: hidden;
}

.map {
    display: block;
}
.leaflet-image-layer, .leaflet-layer, .leaflet-map-pane, .leaflet-marker-icon, .leaflet-marker-pane, .leaflet-marker-shadow, .leaflet-overlay-pane, .leaflet-overlay-pane svg, .leaflet-popup-pane, .leaflet-shadow-pane, .leaflet-tile, .leaflet-tile-container, .leaflet-tile-pane, .leaflet-zoom-box {
    position: absolute;
    left: 0;
    top: 0;
}

button, html input[type=button], input[type=reset], input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer;
}

h1 {
    font-size: 1.4rem;
}

h1 span {
    font-size: 1.4rem;
}

h1,
h2,
h3 {
    text-align: center;
}

h2 {
    font-size: 2.4rem;
    color: var(--primary);
    font-weight: 700;
}

h3 {
    font-size: 2rem;
}

h1 {
    font-size: 2rem;
}
main {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.logo-name {
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
}

/* .logo-name img {
    margin: 0.5em;
} */

.action {
    position: absolute;
    margin: 1em 1em;
    background-color: rgba(0,0,0,0.5);
    display: none;
}
.action a{
    text-decoration: none;
    color: var(--white)
}

.description {
    display: block;
    width: 90%;
    margin: auto;
    text-align: center;
}

.description p {
    text-align: left;
}

.artimg {
    float: right;
}

nav .active {
    border-radius: 2px;
    border-width: 10px;
    border: 1px solid;
    padding: 10px;
}
.weather{
    color: var(--secondary);
}
.weather ul {
    list-style-type: none;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
}

.weather span {
    color: var(--white);
    padding: 0 0.8rem;
    font-weight: bold;
}

.weather li {
    text-align: left;
    font-size: xx-large;
    color: var(--primary);
}
.weather li:first-child {
    display: flex;
    align-items: center;
}

.nav{
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-top: 3px solid #0097A7;
    border-bottom: 3px solid #0097A7;
    margin-top: 10px;
    margin-bottom: 10px;
}
.nav-bg {
    background-color: var(--white);
}

.nav a {
    color: var(--secondary);
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
}

.nav a:hover {
    background-color: var(--white);
    color: var(--dark);
    border-radius: 5px;
}

.nav a:last-of-type {
    margin-bottom: 0;
}

.hero {
    /* height: 85em; */
    background-size: 100% 14em;
    background-repeat: no-repeat;
    margin-bottom: 2rem;
    position: relative;
    background-image: url(../images/saltillolarge2.jpg);
}
.saltillohero{
    background-size: 100% 14em;
    background-repeat: no-repeat;
    margin-bottom: 2rem;
    position: relative;
    background-image: url(../images/saltillolarge2.jpg);
}
.hero-title{
    font-size:6rem;
    color: var(--white);
    padding: 5rem;
}
.content-hero {
    position: relative;
    width: 100%;
    height: 15em;
}
.container {
    margin: 0 auto;
    max-width: 1200px;
}

.week {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    border: solid;
    background-color: var(--dark);
}
.week h3{
    color: var(--white);

}
.week p{
    color: var(--white);
    font-size: xx-large;
}


.forecastday {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.join-container{
    color: var(--white);
    display: flex;
    justify-content: center;
}
.btnjoin{
    padding:20px 100px;
    background: var(--secondary);
    font-size: large;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.5s;

}
.btnjoin:hover {
    letter-spacing: 4px;
}
#popup {
    position: fixed;
    top: -100%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: var(--white);
    width: 450px;
    padding: 80px 50px 50px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: 0.5s;
    visibility: hidden;
}
#popup.activepopup {
    visibility: visible;
    top: 50%;
}
#popup .content {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#popup .content .inputbox{
    position: relative;
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;

}
#popup .content .inputbox input{
    width: 100%;
    padding: 15px;
    outline: none;
    font-size: 18px;
}
#popup .content .inputbox input[type="submit"]{
    max-width:150px;
    background: var(--dark);
    color: var(--primary);
    border: none;
}
.close{
    position: absolute;
    top: 30px;
    right: 30px;
    cursor: pointer;

}
.content p, h2 {
    color: var(--white);
    margin: 0 0 15px 0;
    text-align: center;
}
.contact-address {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: var(--dark);
}
.contact-addresss {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    background-color: var(--dark);
}
.contact-addresss ul {
    list-style-type: none;
    color: var(--white);
}

.service img {
    width: 100%;
}
.headerf h2, p{
    color: var(--white);
}
.copyrights {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px;
}
.copyrights p, a {
    color:var(--dark);
    text-decoration:none;
}
.social p {
    color: black;
}
.lastupdated {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.motto-card {
    font-style: italic;
    font-size: 1rem;
    color: var(--white);
}
.cards-container{
    display: flex;
    flex-direction: column;
}
.title{
    color:var(--dark);
}
.the-section .card {
    background-color: var(--gray);
    padding: 1em 1em 1em 1em;
    border-radius: 3px;
}
.the-sectiondir .card{
    background-color: var(--gray);
    padding: 1em 1em 1em 1em;
    border-radius: 3px;
    column-gap: 0.5em;
}
.the-sectionP {
    background: var(--gray);
    padding: 1em 1em 1em 1em;
    border-radius: 3px;
}
.the-sectionP h6{
    display: none;
}
.the-sectiondir h6{
    display: none;
}
.the-sectione h6{
    display: none;
}
.contact-address img {
    max-width:300px;
    margin: auto;
}
.card h1{
    color: var(--white);
}
.par-card{
    font-weight: bold;
}

.article-sec {
    background-color: var(--dark);
    margin: 0px auto;
    margin-bottom: 40px;
    border-radius: 10px;
    max-width: 85%;
    height: auto;
}
.article-sec p{
    text-align: left;
    color: var(--white);
    margin: 1em 0em 2em 5em;
}
.article-sec h3, h4 {
    text-align: center;
    color: var(--primary);
    padding: 10px;
}
  
.article-sec img {
    margin: 20px 20px 20px 20px;
    float: right;
    width: 25%;
}
.article-sec a{
    text-decoration: none;
    color: var(--primary);
}
.card img{
    padding:2px;
    width: -webkit-fill-available;
}
.wireframe{
    display:flex;
}

/*------form-----*/
form fieldset {
    margin: 2rem 1rem;
    border: 1px solid #445ba9;
    border-radius: 5px;
}
form legend{
    margin:0 1rem;
    padding: 0 .5rem;
    font-size: xx-large;
    
}
form label.top, form div{
    padding-top: 1rem;
    color:#9c2c13;
    font-size: 1.8rem;

}
form label.top input, form label.top select{
    -webkit-appearance: none;
    display: block;
    font-size: 1rem;
    border: 1px solid #999;
    border-radius: 4px;
    padding: .75rem;
    color: #555;
    width: 100%;
    max-width: 24rem;
    background-color: rgba(0,0,0,0.1)
}
form label.sbs{
    display: block;
    padding: .75rem 0;
    color: #555;
}
form input.submitBtn{
    border: none;
    background-color:#9c2c13;
    color: white;
    border-radius: 1rem;
    padding: .75rem 1.5rem;
    margin: 0 0 2rem 2%;
    width: 96%;
    max-width: 25rem;
}
form label.top input:required{
    border-left: #9c2c13 solid 6px;
}
form label.top input:required:valid{
    border-left: green solid 6px;

}
textarea {
    margin: 9px;
    width: 369px;
    height: 127px;
}
#textarealabel{
    display: block;
}

.gallery-section{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.norm:hover {box-shadow: 0 0 50px #333;}
.visitdays{
    display: flex;
    justify-content: center;
}
.textcenter{
    text-align: center;
}